xen/arm: Add MESON UART driver for Amlogic Meson SoCs
authorAmit Singh Tomar <amittomer25@gmail.com>
Thu, 21 Mar 2019 10:25:34 +0000 (15:55 +0530)
committerJulien Grall <julien.grall@arm.com>
Tue, 9 Apr 2019 09:31:54 +0000 (10:31 +0100)
commitb07133e077f6d06bb457781bf7a0e39bd6aa3673
treee31606035838be2d15b008196faea62156d013b1
parenta6448adfd3d537aacbbd784e5bf1777ab3ff5f85
xen/arm: Add MESON UART driver for Amlogic Meson SoCs

This patch adds driver for UART controller present on Amlogic Meson
SoCs and it has been tested on Nanopi K2 board based on S905 SoC.

Controller registers defination is taken from Linux 4.20.
https://github.com/torvalds/linux/blob/v4.20-rc1/drivers/tty/serial/meson_uart.c

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
Reviewed-by: Andre Pryzwara <andre.pryzwara@arm.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/drivers/char/Kconfig
xen/drivers/char/Makefile
xen/drivers/char/meson-uart.c [new file with mode: 0644]